package com.brillilab.domain.po.lab;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**实验室成员实体对象*/
@TableName("lab_member")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LabMember implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(type=IdType.AUTO)
	private Long id;

    /**实验室ID*/
    private Long labId;
 
    /**用户ID*/
    private Long userId;

    /**成员状态:1-正常，2-移出*/
    private Integer state;

    /**职称*/
    private String duty;

	/**加入实验室时间*/
	private Date entryDate;

	/**创建时间*/
	private Date createTime;

	/**修改时间*/
	private Date updateTime;

    /**是否修改过：0-否，1-是*/
	private  Integer isModify;

	//名字
    @TableField(exist=false)
	private String name;

}
